menubutton: Don't derive from GtkToggleButton
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 May 2019 04:56:30 +0000 (04:56 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 May 2019 13:06:32 +0000 (13:06 +0000)
commit6a7d70cc9f677fb8628c769e9f4f6bb688ac7f82
tree1946d4801d0e43c1d39fbccaeb5d7bfbe7dfac29
parent7cec5323d13db5f64dfee7758d83faa6ef3da3d5
menubutton: Don't derive from GtkToggleButton

Make GtkMenuButton a widget that has a
toggle button, instead of deriving from it.

We give it icon-name and label properties,
to let people do what they expect to do
with menu buttons.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkmenubutton.c
gtk/gtkmenubutton.h